package snowforce.datatype;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class RouteJSON
{
	private List<RouteEdgeJSON>	route	= new ArrayList<RouteEdgeJSON>();

	public RouteJSON()
	{

	}

	public RouteJSON(List<RouteEdgeJSON> route)
	{
		super();
		this.route = route;
	}

	public List<RouteEdgeJSON> getRoute()
	{
		return route;
	}

	public void setRoute(List<RouteEdgeJSON> route)
	{
		this.route = route;
	}

	@Override
	public String toString()
	{
		StringBuilder builder = new StringBuilder();
		builder.append("RouteJSON [route=");
		builder.append(route);
		builder.append("]");
		return builder.toString();
	}

}